package com.wangzhixuan.db.dao;

import com.wangzhixuan.db.bean.Product;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 *
 * @author victor
 */
@Repository
public interface ProductDao {
  
  public List<Product> getProductsByDoctor(@Param("doctorId") long doctorId);
  
  public Product getProductsByDoctorAndType(@Param("doctorId") long doctorId,@Param("typeId") long typeId);

}
